package com.ruoyi.offer.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 招聘需求对象 hr_recruitment_request
 * 
 * @author gy
 * @date 2025-05-21
 */
public class HrRecruitmentRequest extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 招聘岗位 */
    @Excel(name = "招聘岗位")
    private String position;

    /** 部门 */
    @Excel(name = "部门")
    private String deptName;

    /** 招聘人数 */
    @Excel(name = "招聘人数")
    private Long headcount;

    /** 需求日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "需求日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date requestDate;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }

    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }

    public void setHeadcount(Long headcount) 
    {
        this.headcount = headcount;
    }

    public Long getHeadcount() 
    {
        return headcount;
    }

    public void setRequestDate(Date requestDate) 
    {
        this.requestDate = requestDate;
    }

    public Date getRequestDate() 
    {
        return requestDate;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("position", getPosition())
            .append("deptName", getDeptName())
            .append("headcount", getHeadcount())
            .append("requestDate", getRequestDate())
            .append("status", getStatus())
            .toString();
    }
}
